<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="${pageContext.request.contextPath}/js/jquery-3.2.1.min.js"></script>
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"
            integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">

</head>
<body style="background-color: transparent;">
<div class="container">
    <div class="col-md-10 col-md-offset-1">
        <h3> <label>热门问题</label></h3>
        <div class="list-group">
            <c:forEach var="question" items="${list}">
                <a href="${pageContext.request.contextPath}/question/questionDetail/${question.q_id}" class="list-group-item">${question.q_question}</a>
            </c:forEach>
        </div>
    </div>
</div>
</div>

</body>
</html>
